projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec848dc
)
window: Don't set is-active twice
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Apr 2020 21:08:15 +0000
(17:08 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Apr 2020 21:08:15 +0000
(17:08 -0400)
We are listening to focus change events for this
no need to duplicate the work in ::state-changed.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 68ed52910503b4641ce3f461cbd2441886620ab9..0451719907c5786f13347f5beb1072307bdc0393 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-5163,8
+5163,6
@@
surface_state_changed (GtkWidget *widget)
ensure_state_flag_backdrop (widget);
- _gtk_window_set_is_active (window, focused);
-
if (!focused)
gtk_window_set_mnemonics_visible (window, FALSE);
}